package com.java_base.memory;

public class ArrayNullException {
    public static void main(String[] args) {
        // 空指针异常 NullPointerException
        int[] arr = {11,22,33};
        arr = null;
        System.out.println(arr);// null
        System.out.println(arr[0]);
    }
}
